package com.yl.module.property.controller;

import com.yl.common.core.domain.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import lombok.extern.slf4j.Slf4j;
import io.swagger.annotations.Api;
import com.yl.module.property.service.PropertyBimUeInfoService;
import org.springframework.validation.annotation.Validated;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import com.yl.module.property.domain.PropertyBimUeInfo;
import com.yl.module.property.domain.vo.PropertyBimUeInfoVO;
import com.yl.module.property.domain.dto.PropertyBimUeInfoDTO;
import javax.validation.constraints.NotNull;
import java.util.List;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * 资产ue数据
 * @author liangjian
 * @date 2024-10-27 18:56:47
 */
@Slf4j
@RestController
@Api(tags = "资产ue数据")
@RequestMapping("/propertyBimUeInfo")
@Validated
public class PropertyBimUeInfoController {
    /**
     * 资产bim、ue初始化信息表 Service
     */
    @Autowired
    public PropertyBimUeInfoService propertyBimUeInfoService;

    @GetMapping("/getAll")
    @ApiOperation(value = "查询所有", notes = "")
	public Result<List<PropertyBimUeInfoVO>> getAll() {
		List<PropertyBimUeInfoVO> result = propertyBimUeInfoService.getAll();
		return Result.ok(result);
	}



}

